import Layout from "@/layout";
export default {
  path: "/neighbor-health",
  component: Layout,
  name: "NeighborHealth",
  roleid:7,
  meta: { title: "邻里健康服务", icon: "dashboard" },
  children: [
    {
      path: "association",
      name: "Association",
      component: () => import("@/views/neighbor-health/association"),
      meta: { title: "社群管理" },
      children: [
        {
          path: "type",
          name: "AssociationType",
          component: () =>
            import("@/views/neighbor-health/association/type.vue"),
          meta: { title: "社群分类" },
        },
        {
          path: "join-audit",
          name: "JoinAudit",
          component: () =>
            import("@/views/neighbor-health/association/join-audit.vue"),
          meta: { title: "社群审核" },
        },
        {
          path: "activity",
          name: "AssociationActivity",
          component: () =>
            import("@/views/neighbor-health/association/activity.vue"),
          meta: { title: "社群活动" },
        },
        {
          path: "posts",
          name: "AssociationPosts",
          component: () =>
            import("@/views/neighbor-health/association/posts.vue"),
          meta: { title: "社群帖子" },
        },
      ],
    },
    {
      path: "community-activity",
      name: "CommunityAct",
      component: () => import("@/views/neighbor-health/community-activity"),
      meta: { title: "社区活动" },
      children: [
        {
          path: "type",
          name: "CommunityType",
          component: () =>
            import("@/views/neighbor-health/community-activity/type.vue"),
          meta: { title: "社区活动分类" },
        },
        {
          path: "activity",
          name: "CommunityActivity",
          component: () =>
            import("@/views/neighbor-health/community-activity/activity.vue"),
          meta: { title: "社区活动发布" },
        },
        {
          path: "sign",
          name: "CommunitySignDEtail",
          component: () =>
            import(
              "@/views/neighbor-health/community-activity/activityDetail.vue"
            ),
          meta: { title: "活动报名/签到/签退" },
        },
        {
          path: "posts",
          name: "CommunityPosts",
          component: () =>
            import("@/views/neighbor-health/community-activity/posts.vue"),
          meta: { title: "社区活动评论" },
        },
      ],
    },
    {
      path: "community-venue",
      name: "CommunityVenue",
      component: () => import("@/views/neighbor-health/community-venue"),
      meta: { title: "社区场馆" },
      children: [
        {
          path: "type",
          name: "VenueType",
          component: () =>
            import("@/views/neighbor-health/community-venue/type.vue"),
          meta: { title: "场馆类型" },
        },
        {
          path: "info",
          name: "VenueInfo",
          component: () =>
            import("@/views/neighbor-health/community-venue/info.vue"),
          meta: { title: "社区场馆" },
        },
        {
          path: "Time",
          name: "VenueTime",
          component: () =>
            import("@/views/neighbor-health/community-venue/open-time.vue"),
          meta: { title: "场馆开放时间" },
        },
        {
          path: "order",
          name: "VenueOrder",
          component: () =>
            import("@/views/neighbor-health/community-venue/order.vue"),
          meta: { title: "场馆预约订单" },
        },
      ],
    },
    {
      path: "community-volunteer",
      name: "CommunityVolunteer",
      component: () => import("@/views/neighbor-health/volunteer"),
      // hidden: true,
      meta: { title: "社区志愿者招募" },
      children: [
        {
          path: "group",
          name: "CommunityGroup",
          component: () => import("@/views/neighbor-health/volunteer/group"),
          meta: { title: "志愿者组织" },
        },
        {
          path: "roster",
          name: "CommunityRoster",
          component: () => import("@/views/neighbor-health/volunteer/roster"),
          meta: { title: "志愿者名单审核" },
        },
        {
          path: "group-audit",
          name: "CommunityGroupAudit",
          component: () =>
            import("@/views/neighbor-health/volunteer/group-audit"),
          meta: { title: "志愿者组织加入审核" },
        },
        // {
        //   path: "type",
        //   name: "CommunityType",
        //   component: () =>
        //     import("@/views/neighbor-health/community-activity/type.vue"),
        //   meta: { title: "志愿者活动分类" },
        // },
        {
          path: "recruit-activity",
          name: "CommunityRecruitActivity",
          component: () =>
            import("@/views/neighbor-health/volunteer/recruit-activity"),
          meta: { title: "志愿者活动" },
        },
        {
          path: "recruit-enroll",
          name: "CommunityRecruitEnroll",
          component: () =>
            import("@/views/neighbor-health/volunteer/activityDetail"),
          meta: { title: "活动报名/签到" },
        },
      ],
    },
    {
      path: "exercise",
      name: "Exercise",
      hidden: true,
      component: () => import("@/views/neighbor-health/exercise"),
      meta: { title: "共享健身" },
    },
    {
      path: "seek-medica",
      name: "SeekMedica",
      hidden: true,
      component: () => import("@/views/neighbor-health/seek-medica"),
      meta: { title: "舒心就医" },
    },
    {
      path: "aed-seach",
      name: "AEDSeach",
      hidden: true,
      component: () => import("@/views/neighbor-health/aed-seach"),
      meta: { title: "AED查询" },
    },
    {
      path: "rescue",
      name: "Rescue",
      hidden: true,
      component: () => import("@/views/neighbor-health/rescue"),
      meta: { title: "救在身边" },
    },
    {
      path: "yanglao",
      name: "YangLao",
      hidden: true,
      component: () => import("@/views/neighbor-health/yanglao"),
      meta: { title: "智慧养老中心" },
    },
    {
      path: "runway",
      name: "Runway",
      hidden: true,
      component: () => import("@/views/neighbor-health/runway"),
      meta: { title: "智慧跑道" },
    },
    {
      path: "business",
      name: "Business",
      component: () => import("@/views/neighbor-health/business"),
      meta: { title: "周边商户" },
    },
    {
      path: "shulao",
      name: "ShuLao",
      hidden: true,
      component: () => import("@/views/neighbor-health/shulao"),
      meta: { title: "智慧养老中心" },
    },
  ],
};
